(* Content-type: application/vnd.wolfram.mathematica *)

(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)

(* CreatedBy='Mathematica 10.4' *)

(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[       158,          7]
NotebookDataLength[     14538,        516]
NotebookOptionsPosition[      9696,        361]
NotebookOutlinePosition[     12898,        452]
CellTagsIndexPosition[     12788,        446]
WindowTitle->Solve2
WindowFrame->Normal*)

(* Beginning of Notebook Content *)
Notebook[{
Cell[BoxData[GridBox[{
   {Cell["FEYN CALC SYMBOL", "PacletNameCell"], Cell[TextData[Cell[BoxData[
     ActionMenuBox[
      FrameBox[
       InterpretationBox[Cell[TextData[{
         "URL",
         StyleBox[" \[FilledDownTriangle]", "AnchorBarArrow",
          StripOnInput->False]
        }]],
        TextCell[
         Row[{"URL", 
           Style[" \[FilledDownTriangle]", "AnchorBarArrow"]}]]],
       StripOnInput->False], {"\<\"FeynCalc/ref/Solve2\"\>":>
      None, "\<\"Copy Wolfram Documentation Center URL\"\>":>
      Module[{DocumentationSearch`Private`nb$}, 
       DocumentationSearch`Private`nb$ = NotebookPut[
          Notebook[{
            Cell["FeynCalc/ref/Solve2"]}, Visible -> False]]; 
       SelectionMove[DocumentationSearch`Private`nb$, All, Notebook]; 
       FrontEndTokenExecute[DocumentationSearch`Private`nb$, "Copy"]; 
       NotebookClose[DocumentationSearch`Private`nb$]; Null], 
      Delimiter, "\<\"Copy web URL\"\>":>
      Module[{DocumentationSearch`Private`nb$}, 
       DocumentationSearch`Private`nb$ = NotebookPut[
          Notebook[{
            Cell[
             BoxData[
              MakeBoxes[
               Hyperlink[
               "http://reference.wolfram.com/language/FeynCalc/ref/Solve2.\
html"], StandardForm]], "Input", TextClipboardType -> "PlainText"]}, Visible -> 
           False]]; SelectionMove[
        DocumentationSearch`Private`nb$, All, Notebook]; 
       FrontEndTokenExecute[DocumentationSearch`Private`nb$, "Copy"]; 
       NotebookClose[DocumentationSearch`Private`nb$]; 
       Null], "\<\"Go to web URL\"\>":>FrontEndExecute[{
        NotebookLocate[{
          URL[
           StringJoin[
            If[
             TrueQ[DocumentationBuild`Make`Private`wsmlinkQ$242739], 
             "http://reference.wolfram.com/system-modeler/", 
             "http://reference.wolfram.com/language/"], "FeynCalc/ref/Solve2",
             ".html"]], None}]}]},
      Appearance->None,
      MenuAppearance->Automatic,
      MenuStyle->"URLMenu"]],
     LineSpacing->{1.4, 0}]], "AnchorBar"]}
  }]], "AnchorBarGrid",
 GridBoxOptions->{GridBoxItemSize->{"Columns" -> {
     Scaled[0.65], {
      Scaled[0.34]}}, "ColumnsIndexed" -> {}, "Rows" -> {{1.}}, 
   "RowsIndexed" -> {}}},
 CellID->1],

Cell[TextData[{
 Cell["Solve2", "ObjectName"],
 Cell[BoxData[
  InterpretationBox[
   StyleBox[
    GraphicsBox[{},
     BaselinePosition->Baseline,
     ImageSize->{8, 0}],
    CacheGraphics->False],
   Spacer[8]]]],
 Cell[BoxData[""], "ObjectNameTranslation"]
}], "ObjectNameGrid"],

Cell[CellGroupData[{

Cell[BoxData[GridBox[{
   {"", Cell[TextData[{
     Cell[BoxData["Solve2"], "InlineFormula"],
     " \[LineSeparator]",
     "is equivalent to Solve, except that it works only for linear equations \
(and returns just a list) and accepts the options Factoring and \
FinalSubstitutions. Solve2 uses the \"high school algorithm\" and factors \
intermediate results. Therefore it can be drastically more useful than \
Solve."
    }]]}
  }]], "Usage",
 GridBoxOptions->{
 GridBoxBackground->{
  "Columns" -> {{None}}, "ColumnsIndexed" -> {}, "Rows" -> {{None}}, 
   "RowsIndexed" -> {}}},
 CellID->982511436],

Cell[CellGroupData[{

Cell[TextData[Cell[BoxData[
 ButtonBox[Cell[TextData[{
   Cell[BoxData[
    InterpretationBox[
     StyleBox[
      GraphicsBox[{},
       BaselinePosition->Baseline,
       ImageSize->{6, 0}],
      CacheGraphics->False],
     Spacer[6]]]],
   "Details"
  }], "NotesFrameText"],
  Appearance->{Automatic, None},
  BaseStyle->None,
  ButtonFunction:>(FrontEndExecute[{
     FrontEnd`SelectionMove[
      FrontEnd`SelectedNotebook[], All, ButtonCell], 
     FrontEndToken["OpenCloseGroup"], 
     FrontEnd`SelectionMove[
      FrontEnd`SelectedNotebook[], After, CellContents]}]& ),
  Evaluator->None,
  Method->"Preemptive"]]]], "NotesSection",
 WholeCellGroupOpener->True,
 CellGroupingRules->{"SectionGrouping", 50},
 CellID->1000983655],

Cell["", "SectionHeaderSpacer"],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"Options", "[", "Solve2", "]"}]], "Input",
 CellTags->"Solve2",
 CellLabel->"In[1]:=",
 CellID->1980966786],

Cell[BoxData[
 FormBox[
  RowBox[{"{", 
   RowBox[{
    RowBox[{"Factoring", "\[Rule]", "Factor2"}], ",", 
    RowBox[{"FinalSubstitutions", "\[Rule]", 
     RowBox[{"{", "}"}]}]}], "}"}], TraditionalForm]], "Output",
 ImageSize->{274, 16},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellTags->"Solve2",
 CellLabel->"Out[1]=",
 CellID->549167872]
}, Open  ]]
}, Closed]]
}, Open  ]],

Cell[CellGroupData[{

Cell[TextData[{
 Cell[BoxData[
  InterpretationBox[
   StyleBox[
    GraphicsBox[{},
     BaselinePosition->Baseline,
     ImageSize->{6, 0}],
    CacheGraphics->False],
   Spacer[6]]]],
 "Examples",
 "\[NonBreakingSpace]\[NonBreakingSpace]",
 Cell["(1)", "ExampleCount"]
}], "PrimaryExamplesSection",
 WholeCellGroupOpener->True,
 CellTags->"PrimaryExamplesSection",
 CellID->806565811],

Cell[CellGroupData[{

Cell[TextData[{
 "Basic Examples",
 "\[NonBreakingSpace]\[NonBreakingSpace]",
 Cell["(1)", "ExampleCount"]
}], "ExampleSection", "ExampleSection",
 WholeCellGroupOpener->True,
 CellID->1552756100],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"Solve2", "[", 
  RowBox[{
   RowBox[{"{", 
    RowBox[{
     RowBox[{
      RowBox[{"2", " ", "x"}], "==", 
      RowBox[{"b", "-", 
       RowBox[{"w", "/", "2"}]}]}], ",", 
     RowBox[{
      RowBox[{"y", "-", "d"}], "==", "p"}]}], "}"}], ",", 
   RowBox[{"{", 
    RowBox[{"x", ",", "y"}], "}"}]}], "]"}]], "Input",
 CellTags->"Solve2",
 CellLabel->"In[1]:=",
 CellID->1039333426],

Cell[BoxData[
 FormBox[
  RowBox[{"{", 
   RowBox[{
    RowBox[{"x", "\[Rule]", 
     RowBox[{
      FractionBox["1", "4"], " ", 
      RowBox[{"(", 
       RowBox[{
        RowBox[{"2", " ", "b"}], "-", "w"}], ")"}]}]}], ",", 
    RowBox[{"y", "\[Rule]", 
     RowBox[{"d", "+", "p"}]}]}], "}"}], TraditionalForm]], "Output",
 ImageSize->{212, 35},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellTags->"Solve2",
 CellLabel->"Out[1]="]
}, Open  ]],

Cell["\<\
If no equation sign is given the polynomials are supposed to be 0.\
\>", "Notes"],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"Solve2", "[", 
  RowBox[{
   RowBox[{"x", "+", "y"}], ",", "x"}], "]"}]], "Input",
 CellTags->"Solve2",
 CellLabel->"In[2]:=",
 CellID->1138368341],

Cell[BoxData[
 FormBox[
  RowBox[{"{", 
   RowBox[{"x", "\[Rule]", 
    RowBox[{"-", "y"}]}], "}"}], TraditionalForm]], "Output",
 ImageSize->{69, 16},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellTags->"Solve2",
 CellLabel->"Out[2]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"Solve2", "[", 
  RowBox[{
   RowBox[{"x", "+", "y"}], ",", "x", ",", 
   RowBox[{"FinalSubstitutions", "\[Rule]", 
    RowBox[{"{", 
     RowBox[{"y", "\[Rule]", "h"}], "}"}]}]}], "]"}]], "Input",
 CellTags->"Solve2",
 CellLabel->"In[3]:=",
 CellID->455409208],

Cell[BoxData[
 FormBox[
  RowBox[{"{", 
   RowBox[{"x", "\[Rule]", 
    RowBox[{"-", "h"}]}], "}"}], TraditionalForm]], "Output",
 ImageSize->{69, 16},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellTags->"Solve2",
 CellLabel->"Out[3]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"Solve2", "[", 
  RowBox[{
   RowBox[{"{", 
    RowBox[{
     RowBox[{
      RowBox[{"2", " ", "x"}], "==", 
      RowBox[{"b", "-", 
       RowBox[{"w", "/", "2"}]}]}], ",", 
     RowBox[{
      RowBox[{"y", "-", "d"}], "==", "p"}]}], "}"}], ",", 
   RowBox[{"{", 
    RowBox[{"x", ",", "y"}], "}"}], ",", 
   RowBox[{"Factoring", "\[Rule]", "Expand"}]}], "]"}]], "Input",
 CellTags->"Solve2",
 CellLabel->"In[4]:=",
 CellID->881839558],

Cell[BoxData[
 FormBox[
  RowBox[{"{", 
   RowBox[{
    RowBox[{"x", "\[Rule]", 
     RowBox[{
      FractionBox["b", "2"], "-", 
      FractionBox["w", "4"]}]}], ",", 
    RowBox[{"y", "\[Rule]", 
     RowBox[{"d", "+", "p"}]}]}], "}"}], TraditionalForm]], "Output",
 ImageSize->{180, 35},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellTags->"Solve2",
 CellLabel->"Out[4]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"Solve", "[", 
  RowBox[{
   RowBox[{"{", 
    RowBox[{
     RowBox[{
      RowBox[{"2", " ", "x"}], "==", 
      RowBox[{"b", "-", 
       RowBox[{"w", "/", "2"}]}]}], ",", 
     RowBox[{
      RowBox[{"y", "-", "d"}], "==", "p"}]}], "}"}], ",", 
   RowBox[{"{", 
    RowBox[{"x", ",", "y"}], "}"}]}], "]"}]], "Input",
 CellTags->"Solve2",
 CellLabel->"In[5]:=",
 CellID->564833870],

Cell[BoxData[
 FormBox[
  RowBox[{"{", 
   RowBox[{"{", 
    RowBox[{
     RowBox[{"x", "\[Rule]", 
      RowBox[{
       FractionBox["1", "4"], " ", 
       RowBox[{"(", 
        RowBox[{
         RowBox[{"2", " ", "b"}], "-", "w"}], ")"}]}]}], ",", 
     RowBox[{"y", "\[Rule]", 
      RowBox[{"d", "+", "p"}]}]}], "}"}], "}"}], TraditionalForm]], "Output",
 ImageSize->{228, 35},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellTags->"Solve2",
 CellLabel->"Out[5]="]
}, Open  ]]
}, Open  ]]
}, Open  ]],

Cell[" ", "FooterCell"]
},
Saveable->False,
ScreenStyleEnvironment->"Working",
WindowSize->{725, 750},
WindowMargins->{{-10, Automatic}, {Automatic, -8}},
WindowTitle->"Solve2",
TaggingRules->{
 "ModificationHighlight" -> False, "ColorType" -> "SymbolColor", "LinkTrails" -> 
  GridBox[{{
      RowBox[{
        ButtonBox[
        "FeynCalc", ButtonData -> "paclet:FeynCalc/guide/FeynCalc", 
         BaseStyle -> {"Link", "DockedLinkTrail"}]}]}}, ColumnAlignments -> 
    Left], "HasOptions" -> False, "ExampleCounter" -> 1, "NeedPlatMsgIn" -> 
  None, "RootCaptions" -> "", 
  "Metadata" -> {
   "built" -> "{2020, 6, 20, 19, 10, 48.002313}", 
    "history" -> {"9.0", "", "", ""}, "context" -> "FeynCalc`", 
    "keywords" -> {}, "specialkeywords" -> {}, 
    "tutorialcollectionlinks" -> {}, "index" -> True, "label" -> 
    "Feyn Calc Symbol", "language" -> "en", "paclet" -> "FeynCalc", "status" -> 
    "None", "summary" -> 
    "Solve2 is equivalent to Solve, except that it works only for linear \
equations (and returns just a list) and accepts the options Factoring and \
FinalSubstitutions. Solve2 uses the \"high school algorithm\" and factors \
intermediate results. Therefore it can be drastically more useful than \
Solve.", "synonyms" -> {}, "tabletags" -> {}, "title" -> "Solve2", 
    "titlemodifier" -> "", "windowtitle" -> "Solve2", "type" -> "Symbol", 
    "uri" -> "FeynCalc/ref/Solve2"}, "SearchTextTranslated" -> ""},
CellContext->"Global`",
FrontEndVersion->"10.4 for Linux x86 (64-bit) (April 11, 2016)",
StyleDefinitions->Notebook[{
   Cell[
    StyleData[
    StyleDefinitions -> FrontEnd`FileName[{"Wolfram"}, "Reference.nb"]]], 
   Cell[
    StyleData["Input"], CellContext -> "Global`"], 
   Cell[
    StyleData["Output"], CellContext -> "Global`"]}, Visible -> False, 
  FrontEndVersion -> "10.4 for Linux x86 (64-bit) (April 11, 2016)", 
  StyleDefinitions -> "Default.nb"]
]
(* End of Notebook Content *)

(* Internal cache information *)
(*CellTagsOutline
CellTagsIndex->{
 "Solve2"->{
  Cell[4580, 140, 130, 4, 27, "Input",
   CellTags->"Solve2",
   CellID->1980966786],
  Cell[4713, 146, 369, 12, 37, "Output",
   CellTags->"Solve2",
   CellID->549167872],
  Cell[5776, 194, 408, 15, 27, "Input",
   CellTags->"Solve2",
   CellID->1039333426],
  Cell[6187, 211, 458, 16, 56, "Output",
   CellTags->"Solve2"],
  Cell[6776, 236, 171, 6, 27, "Input",
   CellTags->"Solve2",
   CellID->1138368341],
  Cell[6950, 244, 260, 9, 37, "Output",
   CellTags->"Solve2"],
  Cell[7247, 258, 284, 9, 27, "Input",
   CellTags->"Solve2",
   CellID->455409208],
  Cell[7534, 269, 260, 9, 37, "Output",
   CellTags->"Solve2"],
  Cell[7831, 283, 460, 16, 27, "Input",
   CellTags->"Solve2",
   CellID->881839558],
  Cell[8294, 301, 399, 14, 56, "Output",
   CellTags->"Solve2"],
  Cell[8730, 320, 406, 15, 27, "Input",
   CellTags->"Solve2",
   CellID->564833870],
  Cell[9139, 337, 491, 17, 56, "Output",
   CellTags->"Solve2"]},
 "PrimaryExamplesSection"->{
  Cell[5143, 165, 387, 15, 31, "PrimaryExamplesSection",
   CellTags->"PrimaryExamplesSection",
   CellID->806565811]}
 }
*)
(*CellTagsIndex
CellTagsIndex->{
 {"Solve2", 11689, 407},
 {"PrimaryExamplesSection", 12645, 439}
 }
*)
(*NotebookFileOutline
Notebook[{
Cell[578, 21, 2265, 53, 53, "AnchorBarGrid",
 CellID->1],
Cell[2846, 76, 283, 11, 45, "ObjectNameGrid"],
Cell[CellGroupData[{
Cell[3154, 91, 603, 15, 119, "Usage",
 CellID->982511436],
Cell[CellGroupData[{
Cell[3782, 110, 739, 24, 31, "NotesSection",
 CellGroupingRules->{"SectionGrouping", 50},
 CellID->1000983655],
Cell[4524, 136, 31, 0, 14, "SectionHeaderSpacer"],
Cell[CellGroupData[{
Cell[4580, 140, 130, 4, 27, "Input",
 CellTags->"Solve2",
 CellID->1980966786],
Cell[4713, 146, 369, 12, 37, "Output",
 CellTags->"Solve2",
 CellID->549167872]
}, Open  ]]
}, Closed]]
}, Open  ]],
Cell[CellGroupData[{
Cell[5143, 165, 387, 15, 31, "PrimaryExamplesSection",
 CellTags->"PrimaryExamplesSection",
 CellID->806565811],
Cell[CellGroupData[{
Cell[5555, 184, 196, 6, 26, "ExampleSection",
 CellID->1552756100],
Cell[CellGroupData[{
Cell[5776, 194, 408, 15, 27, "Input",
 CellTags->"Solve2",
 CellID->1039333426],
Cell[6187, 211, 458, 16, 56, "Output",
 CellTags->"Solve2"]
}, Open  ]],
Cell[6660, 230, 91, 2, 32, "Notes"],
Cell[CellGroupData[{
Cell[6776, 236, 171, 6, 27, "Input",
 CellTags->"Solve2",
 CellID->1138368341],
Cell[6950, 244, 260, 9, 37, "Output",
 CellTags->"Solve2"]
}, Open  ]],
Cell[CellGroupData[{
Cell[7247, 258, 284, 9, 27, "Input",
 CellTags->"Solve2",
 CellID->455409208],
Cell[7534, 269, 260, 9, 37, "Output",
 CellTags->"Solve2"]
}, Open  ]],
Cell[CellGroupData[{
Cell[7831, 283, 460, 16, 27, "Input",
 CellTags->"Solve2",
 CellID->881839558],
Cell[8294, 301, 399, 14, 56, "Output",
 CellTags->"Solve2"]
}, Open  ]],
Cell[CellGroupData[{
Cell[8730, 320, 406, 15, 27, "Input",
 CellTags->"Solve2",
 CellID->564833870],
Cell[9139, 337, 491, 17, 56, "Output",
 CellTags->"Solve2"]
}, Open  ]]
}, Open  ]]
}, Open  ]],
Cell[9669, 359, 23, 0, 41, "FooterCell"]
}
]
*)

(* End of internal cache information *)

